@import 'src/res/theme/xxhz';



.site-list-root {
 /* overflow: hidden;*/
  padding-bottom: 1px;

  .tableData-wrapper{
    max-width: 100%;
  }

  .site-tabs {
    .at-tabs__item-underline, .at-tabs__underline {
      background-color: $mainColor;
    }

    .at-tabs__item {
      color: #aaa;
    }

    .at-tabs__item--active {
      color: #000;
      font-weight: bold;
    }
  }

  .listNull {
    width: 100%;
    height: 75vw;
    text-align: center;
    overflow: hidden;

    image, .taro-img {
      width: 295px;
      height: 295px;
      margin: 86px auto 35px;
    }

    .text, .taro-text {
      font-size: 24px;
      color: #666
    }
  }

  .subNav {
    background-color: #fff;
    flex-grow: 1;
    padding: 35px 20px;
    position: sticky;
    top: 0;
    z-index: 999;

    .nav-box {
      display: flex;
      min-width: 100%;
      font-size: 28px;
      text-align: center;

      .nav-item {
        position: relative;
        color: #666;
        margin-right: 50px;
        font-weight: bold;
        flex-shrink: 0;
      }

      .active{
        color: #333;
      }

      .active-line {
        border-radius: 12px;
        height: 3Px;
        background-color: $mainColor;
        width: 100%;
      }
    }

    .h5-nav-item-last{
      margin-right: 18px !important;
    }
    .weapp-nav-item-last{
      margin-right: 36px !important;
    }
  }

  .site-list-item {
    display: flex;
    align-items: center;
    margin: 0 20px 20px;
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;

    .img, .taro-img__mode-widthfix {
      margin-right: 20px;
      width: 80px;
      min-width: 80px;
      height: 80px !important;
      border-radius: 50%;
    }

    .right-items {
      width: 100%;
      .items-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        .items-title{
          padding-right: 14px;
          word-break: break-all;
          display: -webkit-box;
          /*! autoprefixer: ignore next */
          -webkit-box-orient: vertical;
          /* autoprefixer: on */
          -webkit-line-clamp: 2;
          overflow: hidden;
          text-overflow: ellipsis;
          font-size: 30px;
          color: #000;
          font-weight: bold;
        }
        .items-btn{
          white-space: nowrap;
          display: flex;
          padding: 6px 12px;
          align-items: center;
          border-radius: 48px;
          justify-content: center;
          color: #888;
          font-size: 24px;
          border: 1px solid #888;
        }
        .items-sub-title{
          word-break: break-all;
          font-size: 26px;
          color: #888;
          padding-right: 14px;
          display: -webkit-box;
          /*! autoprefixer: ignore next */
          -webkit-box-orient: vertical;
          /* autoprefixer: on */
          -webkit-line-clamp: 1;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .location{
          white-space: nowrap;
          .distance{
            font-size: 24px;
            color: #888;
            position: relative;
          }
          .h5-distance{
            top: -4px;
          }
          .weapp-distance{
            top: -1.5px;
          }
        }
      }
    }
  }

  .site-list-item-first {
    margin-top: 20px;
  }
}
